package com.donglink.test.logmonitor.entry;

import java.io.Serializable;

public class Message implements Serializable {
    private String log;
    private String mail;

    public String getLog() {
        return log;
    }

    public void setLog(String log) {
        this.log = log;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public Message(String log, String mail) {
        this.log = log;
        this.mail = mail;
    }

    @Override
    public String toString() {
        return "Message{" +
                "log='" + log + '\'' +
                ", mail='" + mail + '\'' +
                '}';
    }
}
